import { createRouter, createWebHistory} from "vue-router";

import a from '@/components/A';
import b from "@/components/B";
import c from "@/components/C";
import d from "@/components/D";
import e from "@/components/E";

//路由规则
const routes = [
    {path:'/a',component:a},
    {path:'/b',component:b},
    {path:'/c',component:c},
    {path:'/d',component:d},
    {path:'/e',component:e},
]
//路由创建
const router=createRouter({
    history:createWebHistory(),
    routes
})
export default router
